package team.hyznrj.studentsys.dao.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import team.hyznrj.studentsys.entity.CollegeMajor;

import java.util.List;

/**
 * @author ReMidDream
 * @date 2018-05-02 19:35
 **/
public interface CollegeMajorRepository extends JpaRepository<CollegeMajor,String> {

    List<CollegeMajor> findByParentId(String parentId);



}
